home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 3
/
Cream of the Crop 3.iso
/
clipper
/
evalti.zip
/
TESTTIME.PRG
< prev
Wrap
Text File
|
1994-01-01
|
812b
|
36 lines
//
// Program: TestTime.prg
// Purpose: Tests TimeEval() for Clipper 5.2c
// Written by: Christopher A. Zielinski, (CIS: 72723,2701)
// (416) 767-9674 9am-5pm EST voice/fax
// Date: 94.01.01
//
// Compile: Clipper TestTime
// Link: RTLINK FILE TestTime LIBRARY EvalTime
//
// Copyright (c) 1994 Christopher A. Zielinski
//
REQUEST QOUT
// Clear screen
CLS
// Display current time every second and wait for a key
TimeEval( 1, "{ || QOUT( TIME() ) }" )
Inkey( 0 )
// Use a shorter code block string
TimeEval( 1, "{ || NIL }" )
// Divide by zero error, force call Clipper's error system!
Dummy := 3/0
// Wait for a key
Inkey( 0 )
// Return control to operating system
QUIT